package org.jeecg.modules.system.allsmslog.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.system.allsmslog.entity.BikeSysSmsLog;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpServletRequest;

public interface BikeSysSmsLogService {
    /**
     * 新增短息记录
     *  mobile 手机号
     *  type 短信类型 1->注册, 2->忘记密码, 3->修改密码, 4->更换手机号, 5->手机号登录, 6->后台新增用户, 7->后台更换手机号 8-> 借车1.50小时短信提醒, 9->会员手动提醒, 9->借车记录手动提醒
     *  content 发送短信内容
     *  createBy 发送人账号
     * */
    void add(BikeSysSmsLog bikeSysSmsLog);
    /**
     * 短息发送记录分页查询
     * */
    Page<BikeSysSmsLog> pageList(BikeSysSmsLog bikeSysSmsLog, Page<BikeSysSmsLog> page);

    ModelAndView exportXls(HttpServletRequest request, BikeSysSmsLog bikeSysSmsLog);
}
